package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 结账管理对象 wms_close_accounts
 * 
 * @author ruoyi
 * @date 2022-04-01
 */
public class WmsCloseAccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String closeAccountsUuid;

    /** 年 */
    @Excel(name = "年")
    private Integer closeAccountsYear;

    /** 期间 */
    @Excel(name = "期间")
    private Integer closeAccountsPeriod;

    /** 物料id */
    @Excel(name = "物料id")
    private String fkItemUuid;

    /** 仓库id */
    @Excel(name = "仓库id")
    private String fkStockUuid;

    /** 仓位id */
    @Excel(name = "仓位id")
    private String fkStockPosUuid;

    /** 期初数量 */
    @Excel(name = "期初数量")
    private BigDecimal beginPeriodQty;

    /** 期初单价 */
    @Excel(name = "期初单价")
    private BigDecimal beginPeriodPrice;

    /** 期初金额 */
    @Excel(name = "期初金额")
    private BigDecimal beginPeriodAmount;

    /** 本期收入 */
    @Excel(name = "本期收入")
    private BigDecimal currentIncomeQty;

    /** 收入单价 */
    @Excel(name = "收入单价")
    private BigDecimal currentIncomePrice;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private BigDecimal currentIncomeAmount;

    /** 本期支出 */
    @Excel(name = "本期支出")
    private BigDecimal currentOutcomeQty;

    /** 支出单价 */
    @Excel(name = "支出单价")
    private BigDecimal currentOutcomePrice;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private BigDecimal currentOutcomeAmount;

    /** 期末数量 */
    @Excel(name = "期末数量")
    private BigDecimal endPeriodQty;

    /** 期末单价 */
    @Excel(name = "期末单价")
    private BigDecimal endPeriodPrice;

    /** 期末余额 */
    @Excel(name = "期末余额")
    private BigDecimal endPeriodAmount;

    public void setCloseAccountsUuid(String closeAccountsUuid) 
    {
        this.closeAccountsUuid = closeAccountsUuid;
    }

    public String getCloseAccountsUuid() 
    {
        return closeAccountsUuid;
    }
    public void setCloseAccountsYear(Integer closeAccountsYear) 
    {
        this.closeAccountsYear = closeAccountsYear;
    }

    public Integer getCloseAccountsYear() 
    {
        return closeAccountsYear;
    }
    public void setCloseAccountsPeriod(Integer closeAccountsPeriod) 
    {
        this.closeAccountsPeriod = closeAccountsPeriod;
    }

    public Integer getCloseAccountsPeriod() 
    {
        return closeAccountsPeriod;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setFkStockUuid(String fkStockUuid) 
    {
        this.fkStockUuid = fkStockUuid;
    }

    public String getFkStockUuid() 
    {
        return fkStockUuid;
    }
    public void setFkStockPosUuid(String fkStockPosUuid) 
    {
        this.fkStockPosUuid = fkStockPosUuid;
    }

    public String getFkStockPosUuid() 
    {
        return fkStockPosUuid;
    }
    public void setBeginPeriodQty(BigDecimal beginPeriodQty) 
    {
        this.beginPeriodQty = beginPeriodQty;
    }

    public BigDecimal getBeginPeriodQty() 
    {
        return beginPeriodQty;
    }
    public void setBeginPeriodPrice(BigDecimal beginPeriodPrice) 
    {
        this.beginPeriodPrice = beginPeriodPrice;
    }

    public BigDecimal getBeginPeriodPrice() 
    {
        return beginPeriodPrice;
    }
    public void setBeginPeriodAmount(BigDecimal beginPeriodAmount) 
    {
        this.beginPeriodAmount = beginPeriodAmount;
    }

    public BigDecimal getBeginPeriodAmount() 
    {
        return beginPeriodAmount;
    }
    public void setCurrentIncomeQty(BigDecimal currentIncomeQty) 
    {
        this.currentIncomeQty = currentIncomeQty;
    }

    public BigDecimal getCurrentIncomeQty() 
    {
        return currentIncomeQty;
    }
    public void setCurrentIncomePrice(BigDecimal currentIncomePrice) 
    {
        this.currentIncomePrice = currentIncomePrice;
    }

    public BigDecimal getCurrentIncomePrice() 
    {
        return currentIncomePrice;
    }
    public void setCurrentIncomeAmount(BigDecimal currentIncomeAmount) 
    {
        this.currentIncomeAmount = currentIncomeAmount;
    }

    public BigDecimal getCurrentIncomeAmount() 
    {
        return currentIncomeAmount;
    }
    public void setCurrentOutcomeQty(BigDecimal currentOutcomeQty) 
    {
        this.currentOutcomeQty = currentOutcomeQty;
    }

    public BigDecimal getCurrentOutcomeQty() 
    {
        return currentOutcomeQty;
    }
    public void setCurrentOutcomePrice(BigDecimal currentOutcomePrice) 
    {
        this.currentOutcomePrice = currentOutcomePrice;
    }

    public BigDecimal getCurrentOutcomePrice() 
    {
        return currentOutcomePrice;
    }
    public void setCurrentOutcomeAmount(BigDecimal currentOutcomeAmount) 
    {
        this.currentOutcomeAmount = currentOutcomeAmount;
    }

    public BigDecimal getCurrentOutcomeAmount() 
    {
        return currentOutcomeAmount;
    }
    public void setEndPeriodQty(BigDecimal endPeriodQty) 
    {
        this.endPeriodQty = endPeriodQty;
    }

    public BigDecimal getEndPeriodQty() 
    {
        return endPeriodQty;
    }
    public void setEndPeriodPrice(BigDecimal endPeriodPrice) 
    {
        this.endPeriodPrice = endPeriodPrice;
    }

    public BigDecimal getEndPeriodPrice() 
    {
        return endPeriodPrice;
    }
    public void setEndPeriodAmount(BigDecimal endPeriodAmount) 
    {
        this.endPeriodAmount = endPeriodAmount;
    }

    public BigDecimal getEndPeriodAmount() 
    {
        return endPeriodAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("closeAccountsUuid", getCloseAccountsUuid())
            .append("closeAccountsYear", getCloseAccountsYear())
            .append("closeAccountsPeriod", getCloseAccountsPeriod())
            .append("fkItemUuid", getFkItemUuid())
            .append("fkStockUuid", getFkStockUuid())
            .append("fkStockPosUuid", getFkStockPosUuid())
            .append("beginPeriodQty", getBeginPeriodQty())
            .append("beginPeriodPrice", getBeginPeriodPrice())
            .append("beginPeriodAmount", getBeginPeriodAmount())
            .append("currentIncomeQty", getCurrentIncomeQty())
            .append("currentIncomePrice", getCurrentIncomePrice())
            .append("currentIncomeAmount", getCurrentIncomeAmount())
            .append("currentOutcomeQty", getCurrentOutcomeQty())
            .append("currentOutcomePrice", getCurrentOutcomePrice())
            .append("currentOutcomeAmount", getCurrentOutcomeAmount())
            .append("endPeriodQty", getEndPeriodQty())
            .append("endPeriodPrice", getEndPeriodPrice())
            .append("createBy", getCreateBy())
            .append("endPeriodAmount", getEndPeriodAmount())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
